package com.hsc.yalebao.tabMine;

import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.google.gson.Gson;
import com.hsc.yalebao.base.ActivityStack;
import com.hsc.yalebao.base.BaseActivity;
import com.hsc.yalebao.base.CustomApplication;
import com.hsc.yalebao.base.MainActivity;
import com.hsc.yalebao.http.AppConstants;
import com.hsc.yalebao.http.RequestNet;
import com.hsc.yalebao.model.BaseDataObject;
import com.hsc.yalebao.model.IsBoundPhoneBean;
import com.hsc.yalebao.model.IsSetBankCardBean;
import com.hsc.yalebao.model.IsSetBankCardModel;
import com.hsc.yalebao.model.IsSetPayPasswordBean;
import com.hsc.yalebao.model.UserBaseBean;
import com.hsc.yalebao.tabChongZhi.ChongzhiActivity2;
import com.hsc.yalebao.tools.NoDoubleClickUtils;
import com.hsc.yalebao.tools.UiUtil;
import com.hsc.yalebao.weight.LogUtils;
import com.hsc.yalebao.weight.MyDialog1;
import com.zhy.http.okhttp.callback.StringCallback;
import java.util.HashMap;
import okhttp3.Call;

public class QianBaoActivity extends BaseActivity
  implements View.OnClickListener
{
  private String TAG = "QianBaoActivity";
  private Context context;
  private String guid = "";
  private ImageView iv_title_right;
  private LinearLayout ll_bc;
  private LinearLayout ll_cz;
  private LinearLayout ll_cz_record;
  private LinearLayout ll_tx;
  private LinearLayout ll_tx_record;
  private int memberid;
  private MyDialog1 myDialog1;
  View.OnClickListener onClickListener = new View.OnClickListener()
  {
    public void onClick(View paramAnonymousView)
    {
      switch (paramAnonymousView.getId())
      {
      case 2131099704:
      default:
        return;
      case 2131099699:
      }
      CustomApplication.app.finishActivity(QianBaoActivity.this);
    }
  };
  private String paypass;
  private TextView txt_money_left;
  private View view_title;

  public void Isboundphone()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_TELEPHONESTATE);
    RequestNet.get(this.context, AppConstants.URL_GET_TELEPHONESTATE, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsBoundPhoneBean localIsBoundPhoneBean;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsBoundPhoneBean = (IsBoundPhoneBean)localGson.fromJson(paramAnonymousString, IsBoundPhoneBean.class);
            if (localIsBoundPhoneBean == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "IsSetPayPasswordBean，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsBoundPhoneBean = null;
            }
            if (localIsBoundPhoneBean.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage(localIsBoundPhoneBean.getMsg());
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsBoundPhoneBean.getFlag() != 1);
        if (localIsBoundPhoneBean.getState() == 0)
        {
          QianBaoActivity.this.Issetpaypassword();
          return;
        }
        QianBaoActivity.this.myDialog1.setMessage("为了您的资金安全，请绑定手机号");
        QianBaoActivity.this.myDialog1.show();
        QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
        {
          public void onClick(View paramAnonymous2View)
          {
            QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, BoundPhoneActivity.class));
            QianBaoActivity.this.myDialog1.dismiss();
          }
        });
      }
    });
  }

  public void Isboundphone1()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_TELEPHONESTATE);
    RequestNet.get(this.context, AppConstants.URL_GET_TELEPHONESTATE, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsBoundPhoneBean localIsBoundPhoneBean;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsBoundPhoneBean = (IsBoundPhoneBean)localGson.fromJson(paramAnonymousString, IsBoundPhoneBean.class);
            if (localIsBoundPhoneBean == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "IsSetPayPasswordBean，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsBoundPhoneBean = null;
            }
            if (localIsBoundPhoneBean.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage(localIsBoundPhoneBean.getMsg());
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsBoundPhoneBean.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsBoundPhoneBean.getFlag() != 1);
        if (localIsBoundPhoneBean.getState() == 0)
        {
          QianBaoActivity.this.Issetpaypassword1();
          return;
        }
        QianBaoActivity.this.myDialog1.setMessage("为了您的资金安全，请绑定手机号");
        QianBaoActivity.this.myDialog1.show();
        QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
        {
          public void onClick(View paramAnonymous2View)
          {
            QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, BoundPhoneActivity.class));
            QianBaoActivity.this.myDialog1.dismiss();
          }
        });
      }
    });
  }

  public void Issetbankcard()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_ISSETBANKCARD);
    showLoadingDialog();
    RequestNet.get(this.context, AppConstants.URL_GET_ISSETBANKCARD, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        QianBaoActivity.this.dismissLoadingDialog();
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        QianBaoActivity.this.dismissLoadingDialog();
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsSetBankCardModel localIsSetBankCardModel;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsSetBankCardModel = (IsSetBankCardModel)localGson.fromJson(paramAnonymousString, IsSetBankCardModel.class);
            if (localIsSetBankCardModel == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "isSetBankCardModel，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsSetBankCardModel = null;
            }
            if (localIsSetBankCardModel.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage("您尚未绑定银行卡，请绑定");
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setBackgroundResource(2130837708);
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, BoundBankCardActivity.class));
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsSetBankCardModel.getFlag() != 1);
        IsSetBankCardBean localIsSetBankCardBean = localIsSetBankCardModel.getBankinfo();
        if (localIsSetBankCardBean == null)
        {
          LogUtils.e(QianBaoActivity.this.TAG, "isSetBankCardModel-result=null");
          return;
        }
        String str1 = localIsSetBankCardBean.getAccountholder();
        String str2 = localIsSetBankCardBean.getBankcardid();
        String str3 = localIsSetBankCardBean.getBankname();
        Intent localIntent = new Intent();
        localIntent.putExtra("accountholder", str1);
        localIntent.putExtra("bankcardid", str2);
        localIntent.putExtra("bankname", str3);
        localIntent.putExtra("paypass", QianBaoActivity.this.paypass);
        localIntent.setClass(QianBaoActivity.this, BankCardActivity.class);
        QianBaoActivity.this.startActivity(localIntent);
      }
    });
  }

  public void Issetbankcard1()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_ISSETBANKCARD);
    showLoadingDialog();
    RequestNet.get(this.context, AppConstants.URL_GET_ISSETBANKCARD, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        QianBaoActivity.this.dismissLoadingDialog();
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        QianBaoActivity.this.dismissLoadingDialog();
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsSetBankCardModel localIsSetBankCardModel;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsSetBankCardModel = (IsSetBankCardModel)localGson.fromJson(paramAnonymousString, IsSetBankCardModel.class);
            if (localIsSetBankCardModel == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "isSetBankCardModel，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsSetBankCardModel = null;
            }
            if (localIsSetBankCardModel.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage("您尚未绑定银行卡，请绑定");
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setBackgroundResource(2130837708);
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, BoundBankCardActivity.class));
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsSetBankCardModel.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsSetBankCardModel.getFlag() != 1);
        IsSetBankCardBean localIsSetBankCardBean = localIsSetBankCardModel.getBankinfo();
        if (localIsSetBankCardBean == null)
        {
          LogUtils.e(QianBaoActivity.this.TAG, "isSetBankCardModel-result=null");
          return;
        }
        String str1 = localIsSetBankCardBean.getAccountholder();
        String str2 = localIsSetBankCardBean.getBankcardid();
        String str3 = localIsSetBankCardBean.getBankname();
        Intent localIntent = new Intent();
        localIntent.putExtra("accountholder", str1);
        localIntent.putExtra("bankcardid", str2);
        localIntent.putExtra("bankname", str3);
        localIntent.putExtra("paypass", QianBaoActivity.this.paypass);
        localIntent.setClass(QianBaoActivity.this, TiXianActivity.class);
        QianBaoActivity.this.startActivity(localIntent);
      }
    });
  }

  public void Issetpaypassword()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_ISSETPAYPASSWORD);
    RequestNet.get(this.context, AppConstants.URL_GET_ISSETPAYPASSWORD, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsSetPayPasswordBean localIsSetPayPasswordBean;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsSetPayPasswordBean = (IsSetPayPasswordBean)localGson.fromJson(paramAnonymousString, IsSetPayPasswordBean.class);
            if (localIsSetPayPasswordBean == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "IsSetPayPasswordBean，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsSetPayPasswordBean = null;
            }
            if (localIsSetPayPasswordBean.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage("请先设置您的提现密码");
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, SafeCodeActivity.class));
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsSetPayPasswordBean.getFlag() != 1);
        QianBaoActivity.this.paypass = localIsSetPayPasswordBean.getPaypass();
        QianBaoActivity.this.Issetbankcard1();
      }
    });
  }

  public void Issetpaypassword1()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("memberid", this.memberid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_ISSETPAYPASSWORD);
    RequestNet.get(this.context, AppConstants.URL_GET_ISSETPAYPASSWORD, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,获取提现记录:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        if (UiUtil.IsValueEmpty(paramAnonymousString))
          LogUtils.d(QianBaoActivity.this.TAG, "为空时result:" + paramAnonymousString);
        IsSetPayPasswordBean localIsSetPayPasswordBean;
        do
        {
          return;
          Gson localGson = new Gson();
          try
          {
            localIsSetPayPasswordBean = (IsSetPayPasswordBean)localGson.fromJson(paramAnonymousString, IsSetPayPasswordBean.class);
            if (localIsSetPayPasswordBean == null)
            {
              LogUtils.e(QianBaoActivity.this.TAG, "IsSetPayPasswordBean，获取失败");
              return;
            }
          }
          catch (Exception localException)
          {
            while (true)
            {
              localException.printStackTrace();
              localIsSetPayPasswordBean = null;
            }
            if (localIsSetPayPasswordBean.getFlag() == 0)
            {
              QianBaoActivity.this.myDialog1.setMessage("请先设置您的提现密码");
              QianBaoActivity.this.myDialog1.show();
              QianBaoActivity.this.myDialog1.btn_confirm.setOnClickListener(new View.OnClickListener()
              {
                public void onClick(View paramAnonymous2View)
                {
                  QianBaoActivity.this.startActivity(new Intent(QianBaoActivity.this, SafeCodeActivity.class));
                  QianBaoActivity.this.myDialog1.dismiss();
                }
              });
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localIsSetPayPasswordBean.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
        }
        while (localIsSetPayPasswordBean.getFlag() != 1);
        QianBaoActivity.this.Issetbankcard();
      }
    });
  }

  public void getUserAmount()
  {
    this.txt_money_left.setText("获取中..");
    HashMap localHashMap = new HashMap();
    localHashMap.put("guid", this.guid);
    LogUtils.d(this.TAG, "URL:" + AppConstants.URL_GET_USER_AMOUNT);
    RequestNet.get(this.context, AppConstants.URL_GET_USER_AMOUNT, localHashMap, new StringCallback()
    {
      public void onError(Call paramAnonymousCall, Exception paramAnonymousException)
      {
        LogUtils.e(QianBaoActivity.this.TAG, "获取失败,getUserAmount-result:" + paramAnonymousException);
      }

      public void onResponse(String paramAnonymousString)
      {
        LogUtils.d(QianBaoActivity.this.TAG, "result:" + paramAnonymousString);
        Gson localGson = new Gson();
        String str;
        try
        {
          localBaseDataObject = (BaseDataObject)localGson.fromJson(paramAnonymousString, BaseDataObject.class);
          if (localBaseDataObject == null)
            return;
        }
        catch (Exception localException)
        {
          BaseDataObject localBaseDataObject;
          do
          {
            while (true)
            {
              localException.printStackTrace();
              localBaseDataObject = null;
            }
            if (localBaseDataObject.getFlag() == 0)
            {
              UiUtil.showToast(QianBaoActivity.this.context, localBaseDataObject.getMsg());
              return;
            }
            if (localBaseDataObject.getFlag() == -2)
            {
              QianBaoActivity.this.showDownWireDialog();
              return;
            }
            if (localBaseDataObject.getFlag() == -3)
            {
              QianBaoActivity.this.ShowFengjinDialog();
              return;
            }
            if (localBaseDataObject.getFlag() == -4)
            {
              QianBaoActivity.activityStack.backToMain(MainActivity.class, QianBaoActivity.this.context);
              return;
            }
          }
          while (localBaseDataObject.getFlag() != 1);
          str = localBaseDataObject.getResult();
          if (str == null);
        }
        try
        {
          CustomApplication.app.userAmount = Double.parseDouble(str);
          LogUtils.d("获取成功", "getUserAmount()-result:" + str);
          QianBaoActivity.this.txt_money_left.setText(str + " 元宝");
          return;
        }
        catch (NumberFormatException localNumberFormatException)
        {
          while (true)
            localNumberFormatException.printStackTrace();
        }
      }
    });
  }

  public void onClick(View paramView)
  {
    switch (paramView.getId())
    {
    default:
    case 2131099927:
    case 2131099928:
      do
      {
        return;
        Isboundphone1();
        return;
      }
      while (NoDoubleClickUtils.isDoubleClick());
      startActivity(new Intent(this, ChongzhiActivity2.class));
      return;
    case 2131099929:
      Isboundphone();
      return;
    case 2131099930:
      startActivity(new Intent(this, ChargeRecordListActivity.class));
      return;
    case 2131099931:
    }
    startActivity(new Intent(this, WithdrawRecordListActivity.class));
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903076);
    CustomApplication.app.addActivity(this);
    this.context = this;
    setTitle(8, 0, 2130837809, "钱包", 0, 8, 8, 0, true);
    this.ll_bc = ((LinearLayout)findViewById(2131099927));
    this.ll_cz = ((LinearLayout)findViewById(2131099928));
    this.ll_tx = ((LinearLayout)findViewById(2131099929));
    this.ll_cz_record = ((LinearLayout)findViewById(2131099930));
    this.ll_tx_record = ((LinearLayout)findViewById(2131099931));
    this.txt_money_left = ((TextView)findViewById(2131099926));
    this.ll_bc.setOnClickListener(this);
    this.ll_cz.setOnClickListener(this);
    this.ll_tx.setOnClickListener(this);
    this.ll_cz_record.setOnClickListener(this);
    this.ll_tx_record.setOnClickListener(this);
    this.myDialog1 = new MyDialog1(this.context);
    if (CustomApplication.app.userBaseBean != null)
    {
      this.memberid = CustomApplication.app.userBaseBean.getMemberid();
      this.guid = CustomApplication.app.userBaseBean.getGuid();
    }
  }

  protected void onResume()
  {
    super.onResume();
    getUserAmount();
  }

  @SuppressLint({"NewApi"})
  public void setTitle(int paramInt1, int paramInt2, int paramInt3, String paramString, int paramInt4, int paramInt5, int paramInt6, int paramInt7, boolean paramBoolean)
  {
    View localView = findViewById(2131099716);
    if (paramBoolean)
      localView.setVisibility(0);
    while (true)
    {
      ((TextView)localView.findViewById(2131099701)).setText(paramString);
      ((TextView)localView.findViewById(2131099700)).setVisibility(paramInt1);
      ImageView localImageView = (ImageView)localView.findViewById(2131099699);
      localImageView.setVisibility(paramInt2);
      localImageView.setOnClickListener(this.onClickListener);
      localImageView.setImageResource(paramInt3);
      TextView localTextView = (TextView)localView.findViewById(2131099702);
      localTextView.setVisibility(paramInt5);
      localTextView.setOnClickListener(this.onClickListener);
      this.iv_title_right = ((ImageView)localView.findViewById(2131099704));
      this.iv_title_right.setVisibility(paramInt6);
      this.iv_title_right.setOnClickListener(this.onClickListener);
      this.iv_title_right.setImageResource(paramInt7);
      return;
      localView.setVisibility(8);
    }
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.hsc.yalebao.tabMine.QianBaoActivity
 * JD-Core Version:    0.6.2
 */